package com.zj.healthmanage.service;

import com.zj.healthmanage.entity.PageResult;
import com.zj.healthmanage.entity.QueryPageBean;
import com.zj.healthmanage.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService{

    int deleteByPrimaryKey(Integer id);

    int insert(Setmeal record);

    int insertSelective(Setmeal record,Integer[] checkgroupIdList);

    Setmeal selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Setmeal record,Integer[] checkgroupIdList);

    int updateByPrimaryKey(Setmeal record);

    PageResult querySetMealByPage(QueryPageBean queryPageBean);

    List<Integer> queryCheckGroupIdsById(Integer id);

    List<Map<String,Object>> querySetmealCount();

}
